<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
        <style>
            
        </style>
	</head>
	<body>
        <button onclick="dog.showModal()">弹窗</button>
        <dialog id="dog">
            <div class="win">
                <p>This is a windows</p>
                <p>
                    <input type="text">
                </p>
                <p>
                    <input type="password">
                </p>
                <button onclick="dog.close()">关闭</button>
            </div>
        </dialog>
	</body>
</html>